package com.my.demo.auth.repository;

import com.my.demo.auth.entity.Account;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by LeiXuMeng on 2017/7/14.
 */
@Repository
public interface AccountRepository extends MongoRepository<Account, String> {
    Account findByName(String name);
}
